<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/common/taglib.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>APP列表</title>
	<link rel="stylesheet" href="${ctx }/static/css/Master.css"/>
	<link rel="stylesheet" href="${ctx }/static/css/lq.datetimepick.css"/>
	<script type="text/javascript" src="${ctx }/static/js/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="${ctx }/static/js/simpletooltip.min.js"></script>
	<script type="text/javascript" src="${ctx }/static/js/Common.js"></script>
	<script type="text/javascript" src="${ctx }/static/js/jsScroller.js"></script>
	<script type="text/javascript" src="${ctx }/static/js/jsScrollbar.js"></script>
	<script type="text/javascript" src="${ctx }/static/js/orgAreat.js"></script>
	<script type="text/javascript">
		function advQuery(id)
		{
			if(id == 0)
			{
				$("#clearfix").attr("style","display: none");
				$("#clearfix1").removeAttr("style");
			}
			else
			{
				$("#clearfix1").attr("style","display: none");
				$("#clearfix").removeAttr("style");
			}
		}
	</script>
	<style type="text/css">
		#content{ width:100%; background:#525252; position:absolute; left:0; top:0px; bottom:1px;}
		#main_right {
		  margin: 0px;
		  height: 100%;
		  overflow: auto;
		  border-top: 1px solid #717171;
		  background: #fff;
		}
		.SearchList li input {
		  border: 1px solid #dfdfdf;
		  height: 30px;
		  line-height: 16px;
		  padding: 5px;
		  width: 148px;
		  margin-right: 10px;
		  }
		.selectul_w1
		{
			background: #fff;
			border: 1px solid #dfdfdf;
			text-align: center;
			position: relative;
			height: 30px;
		}
		.SearchList .yxjx .text {
			position: relative;
			right: -400px;
			top: -93px;
		}
		.SearchList li .selectul {
		  width: 100px;
		}
	</style>
  </head>
  
  <body>
    <div class="wrapper">
		<section id="content">
		<form id="searchForm" method="get" >
			<section id="main_right">
				<section class="boxRight">
					<div class="context boxborder">
						<div class="SearchList SearchList_GJ">
							<ul class="clearfix" id="clearfix">
								<li><span class="name">用户名：</span><span class="pt"><input name="text" type="r" /></span></li>
								<li class="combtn pr"><a href="javascript:advQuery(0);">高级查询</a><a href="javascript:void(0);">查询</a></li>
							</ul>
							<ul class="clearfix" id="clearfix1" style="display: none;">
								<li><span class="name">地区：</span>
									<select id="province" name="provinceId" class="selectul selectul_w1 province">
										<option value="0"  >选择省</option>
									</select>
									<select id="city" name="cityId" class="selectul selectul_w1 city">
										<option value="0">选择市</option>
									</select>
									<select id="area" name="areaId" class="selectul selectul_w1 area">
										<option value="0">选择区</option>
									</select>
								</li>
								<li><span class="name">性别：</span>
								 <select name="putInVersion" class="selectul selectul_w1" >
								 	<option value="0" checked>请选择</option>
								     <c:forEach items="${diy:getDicList('SEX')}" var="dic">
								     <option value="${dic.code}" checked>${dic.content}</option>
								     </c:forEach>
							     </select>
								</li>
								<li><span class="name">社区：</span><div id="select5" class="selectul selectul_w2"><div class="selectfocus" data-value="全部社区"><em>全部社区</em></div><select><option>全部社区</option><option>111</option><option>222</option></select></div></li>
								<li class="yxjx"><div class="text"><span class="name">已选机型：</span><textarea>XXX，XXX</textarea><span class="org">选择</span></div></li>
								<li class="combtn pr pr_b"><a href="javascript:advQuery(1);">取消</a><a href="javascript:void(0);">查询</a></li>
							</ul>
						</div>
						<div class="com_table">
							<table width="100%" cellpadding="0" cellspacing="0">
								<tr>
									<th>序号</th>
									<th>Qlife账号</th>
									<th>昵称</th>
									<th>城市区域</th>
									<th>用户类型</th>
									<th>状态</th>
									<th>操作</th>
								</tr>
								<c:forEach items="${result.entityList}" var="use" varStatus="user" >
								<tr>
									<td>${user.index + 1 }</td>
									<td>${use.useName }</td>
									<td>${use.useNickname }</td>
									<td>${use.comId }</td>
									<td>游客、未认证住户、住户</td>
									<td>${diy:keyToValue(ver.useLocked,'LOCK')}</td>
									<td><a class="icon micon_9" title="详情" href="${ctx }/appManager/findAppUserInfo.do?useId=${use.useId}"></a><a class="icon micon_1" title="禁用" href="javascript:void(0);"></a></td>
								</tr>
								</c:forEach>
							</table>
							<%-- 分页 --%>
							<%@ include file="/WEB-INF/common/page.jsp"%>
						</div>
					</div>
			</section>
			</section>
		<!--/左边-->
		</form>
		</section>
	</div>
  </body>
</html>
